package com.ruoyi.common.domain.knowledge;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.domain.doctor.Doctor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 视频管理对象 video
 * 
 * @author Jm
 * @date 2025-08-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频ID */
    private Long id;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 视频内容 */
    @Excel(name = "视频内容")
    private String content;

    /** 视频链接 */
    @Excel(name = "视频链接")
    private String videoUrl;

    /** 发布医生ID */
    @Excel(name = "发布医生ID")
    private Long doctorId;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 观看量 */
    @Excel(name = "观看量")
    private Long readCount;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Long collectCount;

    /** 点赞量 */
    @Excel(name = "点赞量")
    private Long approve;

    /** 关联话题ID */
    @Excel(name = "关联话题ID")
    private Long topicId;

    /** 删除标记：0未删除，1已删除 */
    private Integer del;

    private Doctor doctor;

    private Topic topic;

    private String hospitalName;

    private String departmentName;

    private Long followDoctor;


}